Closed
Bug 1420366
Opened 8 years ago
Closed 8 years ago
Update the list of checkers in .clang-tidy file in order to remove 'modernize-use-override'
Categories
(Developer Infrastructure :: Source Code Analysis, enhancement)
Developer Infrastructure
Source Code Analysis
Tracking
(firefox59 fixed)
RESOLVED
FIXED
mozilla59
Tracking | Status | |
---|---|---|
firefox59 | --- | fixed |
People
(Reporter: andi, Assigned: andi)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
This checker is prone to throw many warnings due to the way how we implement NS_IMETHOD. Since it's very widespread across our code base we cannot change it, since in many cases it's also used in order to create vtables for the corresponding classes.
I propose to eliminate since besides the semantical benefit it doesn't add nothing valuable.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8931617 [details]
Bug 1420366 - remove modernize-use-override from clang-bot config.
https://reviewboard.mozilla.org/r/202774/#review208088
::: .clang-tidy:1
(Diff revision 1)
> # Checks run by clang-tidy over Mozilla code.
I think we are using tools/clang-tidy/config.yaml
This file is probably useless now, no?
Attachment #8931617 -
Flags: review?(sledru)
Updated•8 years ago
|
Blocks: clang-based-analysis
Assignee | ||
Comment 3•8 years ago
|
||
Yes that one is used for the bot, but if you run by hand clang-tidy this file will be used. OK I will drop this change and remove it from the bot config.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 6•8 years ago
|
||
mozreview-review |
Comment on attachment 8931617 [details]
Bug 1420366 - remove modernize-use-override from clang-bot config.
https://reviewboard.mozilla.org/r/202774/#review208094
Attachment #8931617 -
Flags: review?(sledru) → review+
Pushed by bpostelnicu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e805540bfd7a
remove modernize-use-override from clang-bot config. r=sylvestre
Comment 8•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox59:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Updated•8 years ago
|
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•